home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Avalanche!
/
Shareware Avalanche!.iso
/
os2
/
prompts.txt
< prev
next >
Wrap
Text File
|
1992-07-25
|
1KB
|
29 lines
The following are two PROMPT commands that will set useful prompts for
your OS/2 and DOS command prompts. They produce high-intensity white
characters on a blue background (we have to use blue, you know). The
format of both prompts is as follows:
OS Directory Time Day Date
The 'OS' is 'OS/2' for an OS/2 command prompt and 'DOS' for MSDOS. The
line shoiwn above is always at the top of the screen, and the actual
prompt string is the standard DOS 'D>', where D is the drive. The prompt
command saves and restores the cursor position so these strings act as
'normal' prompts.
The following should be included in your AUTOEXEC.DOS file:
prompt $e[s$e[24A$e[2D$e[K$e[1;37;44m DOS $p $t$h$h$h $d $e[m$e[u$n$g
The following should be included in your OS/2 CONFIG.SYS file:
set prompt=$e[s$e[24A$e[2D$e[K$e[1;37;44m$s$s$sOS/2$s$s$s$s$s$p$s$s$s$s$s$t$h$h$h$s$s$s$s$s$d$s$s$s$e[m$e[u$n$g
You must have ANSI support enabled in both your OS/2 and DOS sessions.
I hope these strings make your work more pleasant.
Hal Endresen